package com.hpli.domain.rebate.model.entity;


import com.hpli.domain.rebate.event.SendRebateMessageEvent;
import com.hpli.domain.rebate.model.valobj.TaskStateVO;
import com.hpli.types.event.BaseEvent;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 汀
 * @CreateTime: 2025-04-18
 * @Description: 任务实体对象
 * @Version: 1.0
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TaskEntity {

    private String userId;

    private String topic;

    private String messageId;

    private BaseEvent.EventMessage<SendRebateMessageEvent.RebateMessage> message;

    private TaskStateVO state;

}
